<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CajaMenuItem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Caja Extension Reference Manual">
<link rel="up" href="ch01.html" title="Extension Interfaces">
<link rel="prev" href="libcaja-extension-caja-menu-provider.html" title="caja-menu-provider">
<link rel="next" href="libcaja-extension-caja-property-page-provider.html" title="caja-property-page-provider">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libcaja-extension-caja-menu-provider.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Caja Extension Reference Manual</th>
<td><a accesskey="n" href="libcaja-extension-caja-property-page-provider.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libcaja-extension-caja-menu.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libcaja-extension-caja-menu.description" class="shortcut">Description</a>
                   | 
                  <a href="#libcaja-extension-caja-menu.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#libcaja-extension-caja-menu.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#libcaja-extension-caja-menu.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="libcaja-extension-caja-menu"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libcaja-extension-caja-menu.top_of_page"></a>CajaMenuItem</span></h2>
<p>CajaMenuItem</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libcaja-extension-caja-menu.synopsis"></a><h2>Synopsis</h2>
<a name="CajaMenu"></a><a name="CajaMenuItem"></a><pre class="synopsis">#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-TYPE-MENU-ITEM:CAPS" title="CAJA_TYPE_MENU_ITEM">CAJA_TYPE_MENU_ITEM</a>
#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-MENU-ITEM:CAPS" title="CAJA_MENU_ITEM()">CAJA_MENU_ITEM</a>                      (obj)
#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-MENU-ITEM-CLASS:CAPS" title="CAJA_MENU_ITEM_CLASS()">CAJA_MENU_ITEM_CLASS</a>                (klass)
#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-MENU-IS-ITEM:CAPS" title="CAJA_MENU_IS_ITEM()">CAJA_MENU_IS_ITEM</a>                   (obj)
#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-MENU-IS-ITEM-CLASS:CAPS" title="CAJA_MENU_IS_ITEM_CLASS()">CAJA_MENU_IS_ITEM_CLASS</a>             (klass)
#define             <a class="link" href="libcaja-extension-caja-menu.html#CAJA-MENU-ITEM-GET-CLASS:CAPS" title="CAJA_MENU_ITEM_GET_CLASS()">CAJA_MENU_ITEM_GET_CLASS</a>            (obj)
                    <a class="link" href="libcaja-extension-caja-menu.html#CajaMenuPrivate" title="CajaMenuPrivate">CajaMenuPrivate</a>;
                    <a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItemDetails" title="CajaMenuItemDetails">CajaMenuItemDetails</a>;
                    <a class="link" href="libcaja-extension-caja-menu.html#CajaMenu-struct" title="CajaMenu">CajaMenu</a>;
                    <a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem-struct" title="CajaMenuItem">CajaMenuItem</a>;
</pre>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----CajaMenu
</pre>
<pre class="synopsis">
  GObject
   +----CajaMenuItem
</pre>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--icon" title='The "icon" property'>icon</a>"                     <span class="type">gchar</span>*                : Read / Write
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--label" title='The "label" property'>label</a>"                    <span class="type">gchar</span>*                : Read / Write
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--menu" title='The "menu" property'>menu</a>"                     <a class="link" href="libcaja-extension-caja-menu.html#CajaMenu"><span class="type">CajaMenu</span></a>*             : Read / Write
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--name" title='The "name" property'>name</a>"                     <span class="type">gchar</span>*                : Read / Write / Construct Only
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--priority" title='The "priority" property'>priority</a>"                 <span class="type">gboolean</span>              : Read / Write
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--sensitive" title='The "sensitive" property'>sensitive</a>"                <span class="type">gboolean</span>              : Read / Write
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem--tip" title='The "tip" property'>tip</a>"                      <span class="type">gchar</span>*                : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem-activate" title='The "activate" signal'>activate</a>"                                       : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="CAJA-TYPE-MENU-ITEM:CAPS"></a><h3>CAJA_TYPE_MENU_ITEM</h3>
<pre class="programlisting">#define CAJA_TYPE_MENU_ITEM            (caja_menu_item_get_type())
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAJA-MENU-ITEM:CAPS"></a><h3>CAJA_MENU_ITEM()</h3>
<pre class="programlisting">#define CAJA_MENU_ITEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_MENU_ITEM, CajaMenuItem))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAJA-MENU-ITEM-CLASS:CAPS"></a><h3>CAJA_MENU_ITEM_CLASS()</h3>
<pre class="programlisting">#define CAJA_MENU_ITEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CAJA_TYPE_MENU_ITEM, CajaMenuItemClass))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAJA-MENU-IS-ITEM:CAPS"></a><h3>CAJA_MENU_IS_ITEM()</h3>
<pre class="programlisting">#define CAJA_MENU_IS_ITEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAJA_TYPE_MENU_ITEM))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAJA-MENU-IS-ITEM-CLASS:CAPS"></a><h3>CAJA_MENU_IS_ITEM_CLASS()</h3>
<pre class="programlisting">#define CAJA_MENU_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), CAJA_TYPE_MENU_ITEM))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAJA-MENU-ITEM-GET-CLASS:CAPS"></a><h3>CAJA_MENU_ITEM_GET_CLASS()</h3>
<pre class="programlisting">#define CAJA_MENU_ITEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), CAJA_TYPE_MENU_ITEM, CajaMenuItemClass))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuPrivate"></a><h3>CajaMenuPrivate</h3>
<pre class="programlisting">typedef struct _CajaMenuPrivate CajaMenuPrivate;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItemDetails"></a><h3>CajaMenuItemDetails</h3>
<pre class="programlisting">typedef struct _CajaMenuItemDetails CajaMenuItemDetails;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenu-struct"></a><h3>CajaMenu</h3>
<pre class="programlisting">typedef struct _CajaMenu CajaMenu;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem-struct"></a><h3>CajaMenuItem</h3>
<pre class="programlisting">typedef struct _CajaMenuItem CajaMenuItem;</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="CajaMenuItem--icon"></a><h3>The <code class="literal">"icon"</code> property</h3>
<pre class="programlisting">  "icon"                     <span class="type">gchar</span>*                : Read / Write</pre>
<p>Name of the icon to display in the menu item.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--label"></a><h3>The <code class="literal">"label"</code> property</h3>
<pre class="programlisting">  "label"                    <span class="type">gchar</span>*                : Read / Write</pre>
<p>Label to display to the user.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--menu"></a><h3>The <code class="literal">"menu"</code> property</h3>
<pre class="programlisting">  "menu"                     <a class="link" href="libcaja-extension-caja-menu.html#CajaMenu"><span class="type">CajaMenu</span></a>*             : Read / Write</pre>
<p>The menu belonging to this item. May be null.</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <span class="type">gchar</span>*                : Read / Write / Construct Only</pre>
<p>Name of the item.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--priority"></a><h3>The <code class="literal">"priority"</code> property</h3>
<pre class="programlisting">  "priority"                 <span class="type">gboolean</span>              : Read / Write</pre>
<p>Show priority text in toolbars.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--sensitive"></a><h3>The <code class="literal">"sensitive"</code> property</h3>
<pre class="programlisting">  "sensitive"                <span class="type">gboolean</span>              : Read / Write</pre>
<p>Whether the menu item is sensitive.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="CajaMenuItem--tip"></a><h3>The <code class="literal">"tip"</code> property</h3>
<pre class="programlisting">  "tip"                      <span class="type">gchar</span>*                : Read / Write</pre>
<p>Tooltip for the menu item.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="libcaja-extension-caja-menu.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="CajaMenuItem-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="libcaja-extension-caja-menu.html#CajaMenuItem"><span class="type">CajaMenuItem</span></a> *cajamenuitem,
                                                        <span class="type">gpointer</span>      user_data)         : <code class="literal">Run Last</code></pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cajamenuitem</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>